Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  Consider the language L1,L2,L3 as given below... Start Learning for Free
Consider the language L1,L2,L3 as given below. L1={ | p,q  N} L2={ | p,q  N and p=q} L3={ | p,q,r  N and p=q=r} Which of the following statements is NOT TRUE?
  • a)
    Push Down Automata (PDA) can be used to recognize L1 and L2
  • b)
    L1 is a regular language
  • c)
    All the three languages are context free
  • d)
    Turing machine can be used to recognize all the three languages
Correct answer is option 'C'. Can you explain this answer?
Verified Answer
Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN ...
L1 is regular. Its DFA is given as

L2 is not regular, can be proved using pumping lemma (refer to Ullman). But L2 is CFL.
S → AB
A → 0A|ε
B → 1B|ε
L3 is not CFL, can be proved using pumping lemma (refer to Ullman). But L3 is Recursive.
Every regular language is also a CFL. So PDA can be used to recognized L1 and L2. As a CFL and Regular language is algo a Recursive language. Hence, Turing machine can be used to recognise L1, L2 and L3. L2 is not regular, can be proved using pumping lemma (refer to Ullman). But L2 is CFL.
S → AB
A → 0A|ε
B → 1B|ε
L3 is not CFL, can be proved using pumping lemma (refer to Ullman). But L3 is Recursive. Every regular language is also a CFL. So PDA can be used to recognised L1 and L2. As a CFL and Regular language is algo a Recursive language. Hence, turing machine can be used to recognise L1, L2 and L3.
View all questions of this test
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer?
Question Description
Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer? for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer?.
Solutions for Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
Here you can find the meaning of Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer?, a detailed solution for Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer? has been provided alongside types of Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider the language L1,L2,L3 as given below. L1={| p,qN} L2={| p,qN and p=q} L3={| p,q,rN and p=q=r} Which of the following statements isNOT TRUE?a)Push Down Automata (PDA) can be used to recognize L1 and L2b)L1 is a regular languagec)All the three languages are context freed)Turing machine can be used to recognize all the three languagesCorrect answer is option 'C'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Explore Courses
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev